package cn.cqone.crm.service.impl;

import cn.cqone.crm.domain.DictoryDetails;
import cn.cqone.crm.domain.PotentialCustomer;
import cn.cqone.crm.mapper.PotentialCustomerMapper;
import cn.cqone.crm.query.PotentialCustomerQuery;
import cn.cqone.crm.service.PotentialCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class PotentialCustomerServiceImpl extends BaseServiceImpl<PotentialCustomer,Long,PotentialCustomerQuery> implements PotentialCustomerService {

    @Autowired
    private PotentialCustomerMapper potentialCustomerMapper;

    @Override
    public List<DictoryDetails> findCusSource() {
        return potentialCustomerMapper.findCusSource();
    }

    @Override
    public List<DictoryDetails> findTypePlan() {
        return potentialCustomerMapper.findTypePlan();
    }
}
